package com.gift.recommendation.modules.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gift.recommendation.modules.admin.dao.entity.GoodsEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author zzh <2658137258@qq.com>
 * @date 2023/2/15
 */
@Data
public class GoodsEntityRsp extends GoodsEntity {
    //购买量
    private Integer count;

    //真实价格
    private BigDecimal realPrice;

    //节日名称
    @JsonIgnore
    private String festivalName;

    //节日名称列表
    private List<String> festivalNameList;

//    //节日开始日期
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    private Date startTime;
//
//    //节日结束日期
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    private Date endTime;
}
